import 'package:flutter/material.dart';

import 'entry.dart';
import 'pages/dailyPage.dart';
import 'pages/dsEditorPage.dart';

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: Entry.AppName,
      initialRoute: Routes.DailyPage,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      routes: {
        Routes.DailyPage: (context) => DailyPage(
            title: Entry.Daily, table: Entry.td_journal, configName: 'stage'),
        Routes.DSEditor: (context) => DSEditorPage(),
      },
    );
  }
}
